
.bamboo-content {
  background-color: $white;
  margin: 0rem 1rem 1rem;
  padding: 2.5rem 1.5rem 2.5rem;
}

.bamboo-column-list {
  border: solid 1px $bgcolor;
  > div {
    > div {
      position: relative;
      display: flex;
      display: -webkit-flex;
      font-size: 1.05rem;
      background-color: $bgcolor;
      margin: 2px 0;
      padding: 1.2rem;
      > div {
        display: flex;
        display: -webkit-flex;
        > span {
          display: inline-block;
          width: 4rem;
          height: 1.5rem;
          text-align: center;
          border-radius: 3px;
          align-self: center;
          margin: 0 1rem;
          font-size: .9rem;
        }
        > a {
          font-size: 1.05rem;
          color: $gray-one;
          align-self: center;
        }
        &:nth-child(1) {
          flex: 1;
        }
        &:nth-child(2) {
          > span {
            border: solid 1px $gray-color;
            color: $orange-color;
            text-align: center;
          }
        }
      }
    }
    &:nth-child(1) {
      > div {
        margin-top: 0px;
      }
    }
    &:last-child {
      > div {
        margin-bottom: 0px;
      }
    }
  }
}

.bamboo-column-children {
  > div {
    > div {
      position: relative;
      display: flex;
      display: -webkit-flex;
      font-size: 1.05rem;
      margin: 2px 0;
      padding: .8rem 1.2rem;
      border-bottom: solid 1px $border-color;
      background-color: $white;
      @include style-transition;
      &:hover {
        background-color: #fafafa;
      }

      > div {
        display: flex;
        display: -webkit-flex;
        > span {
          display: inline-block;
          width: 4rem;
          height: 1.5rem;
          text-align: center;
          border-radius: 3px;
          align-self: center;
          margin: 0 1rem 0 2.3rem;
          font-size: .9rem;
        }
        > a {
          font-size: 1.05rem;
          color: $gray-one;
          align-self: center;
        }
        &:nth-child(1) {
          flex: 1;
        }
        &:nth-child(2) {
          > span {
            border: solid 1px $gray-color;
            color: $orange-color;
            text-align: center;
          }
        }
      }
    }

    &:last-child {
      > div {
        border-bottom: 0;
      }
    }
  }
}

.o-plus-icon {
  width: 1.3rem;
  height: 1.3rem;
  margin-top: -.2rem;
}

.bamboo-content-control {
  > a {
    width: 1.65rem;
    height: 1.65rem;
    background-repeat: no-repeat;
    display: inline-block;
    background-size: 1.65rem;
    margin-left: 1.5rem;
    &:nth-child(1) {
      background-image: url(../icon/iocn-see.png);
      &:hover {
        background-image: url(../icon/iocn-see-hover.png);
      }
    }
    &:nth-child(2) {
      background-image: url(../icon/plus.png);
      &:hover {
        background-image: url(../icon/plus-hover.png);
      }
    }
    &:nth-child(3) {
      background-image: url(../icon/edit.png);
      &:hover {
        background-image: url(../icon/edit-hover.png);
      }
    }
    &:nth-child(4) {
      background-image: url(../icon/delete.png);
      &:hover {
        background-image: url(../icon/delete-hover.png);
      }
    }
  }
}

.bamboo-column-delete {
  position: relative;
  display: none;
  @include style-transition;
  > div {
    &:nth-child(1) {
      position: fixed;
      top: 0px;
      left: 0px;
      right: 0px;
      bottom: 0px;
      background-color: rgba(0, 0, 0, 0.65);
      z-index: 500;
    }
    &:nth-child(2) {
      position: fixed;
      top: 28%;
      left: 50%;
      width: 30rem;
      height: 15rem;
      margin-left: -15rem;
      background-color: $white;
      border-radius: 5px;
      padding: 2.5rem 2rem;
      z-index: 506;
      > h3 {
        font-size: 1.2rem;
      }
      > input {
        margin: 1.8rem 0px .5rem;
      }
      > p {
        margin: 0px;
        padding: 0px;
        font-size: .9rem;
        color: $green;
        display: none;
      }
      > a {
        margin-top: 1.5rem;
      }
    }
  }
}

.bamboo-empty {
  text-align: center;
  margin-top: 10rem;
  > p {
    font-size: 1.2rem;
    color: $gray-color;
    margin-top: 2rem;
    > a {
      color: $green;
    }
  }
}

.bamboo-add-new {
  text-align: center;
  margin-top: 3.5rem;
  > p {
    font-size: 1.2rem;
    color: $gray-color;
    > a {
      color: $red;
      text-decoration: underline;
      display: inline-flex;
      > img {
        width: 1.3rem;
        height: 1.3rem;
        align-self: center;
        margin-top: -.3rem;
      }
    }
  }
}
